package com.lagou.sqlSession;

import com.lagou.utils.ParameterMapping;

import java.util.List;

/**
 * @Description:
 * @Author: yw
 * @Date: 2021/7/25 11:09
 **/
public class BoundSql {

    private String  sqText;

    private List<ParameterMapping> parameterMappings;

    public String getSqText() {
        return sqText;
    }

    public void setSqText(String sqText) {
        this.sqText = sqText;
    }

    public List<ParameterMapping> getParameterMappings() {
        return parameterMappings;
    }

    public void setParameterMappings(List<ParameterMapping> parameterMappings) {
        this.parameterMappings = parameterMappings;
    }

    public BoundSql(String sqText, List<ParameterMapping> parameterMappings) {
        this.sqText = sqText;
        this.parameterMappings = parameterMappings;
    }
}
